#pragma once

#ifndef TEXTUREMANAGER_H
#define TEXTUREMANAGER_H

#include <map>
#include <string>
#include <SFML/Graphics/Texture.hpp>

using namespace std;
using namespace sf;

class TextureManager
{
public:
	TextureManager();
	~TextureManager();

	bool loadTexture(const string &name);

	Texture* getTexture(const string &name);

	/// Removes all textures.
	void clear();

private:
	map<string, Texture*> m_textures;
};

#endif